package com.oa.domain;


import java.util.Date;

/**
 * Attendance entity. @author MyEclipse Persistence Tools
 */

public class Attendance implements java.io.Serializable {

	// Fields

	private Long attid;
	private Long empno;
	private Integer state;
	private Date atttime;
	private Emp emp;

	// Constructors

	/** default constructor */
	public Attendance() {
	}

	/** minimal constructor */
	public Attendance(Long attid) {
		this.attid = attid;
	}

	/** full constructor */
	public Attendance(Long attid, Long empno, Integer state, Date atttime,Emp emp) {
		this.attid = attid;
		this.empno = empno;
		this.state = state;
		this.atttime = atttime;
		this.emp = emp;
	}

	// Property accessors

	public Long getAttid() {
		return this.attid;
	}

	public void setAttid(Long attid) {
		this.attid = attid;
	}

	public Long getEmpno() {
		return this.empno;
	}

	public void setEmpno(Long l) {
		this.empno = l;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getAtttime() {
		return this.atttime;
	}

	public void setAtttime(Date atttime) {
		this.atttime = atttime;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}
	

}